import React, { Component } from "react";
import qs from "query-string";
export default class P1 extends Component {
  render() {
    console.log("p1组件props", this.props);
    let { num, name } = qs.parse(this.props.location.search);
    return (
      <div>
        P1,{num}--{name}
      </div>
    );
  }
}
